package com.mobor.moborsvr.obj.category.categories;

import javax.persistence.*;

/**
 * Entity object representing object categories
 * @author teroleg
 *
 */
@Entity
@Table(name="MBR_OBJECT_CATEGORIES")
public class CategoryObjectDO {
	
	private Long id;
	private String title;
	private String externalCode;
	
	public CategoryObjectDO(){
		
	}
	
	@Id
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name="TITLE")
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	@Column(name="EXTERNAL_CODE")
	public String getExternalCode() {
		return externalCode;
	}
	
	public void setExternalCode(String externalCode) {
		this.externalCode = externalCode;
	}
}
